[PHP] Dots and spaces in variable names from external sources are converted to underscores

Posted by Brandon on Stack Overflow See other posts from Stack Overflow or by Brandon
Published on 2010-06-17T19:30:53Z Indexed on 2010/06/17 19:33 UTC
Read the original article Hit count: 363

Filed under:

Trying a bit of AJAX, and I find that much of my data is littered with underscores! Documentation confirms that this is working as intended. Any way to pass my form information to PHP in tact? I'm using code igniter, so my pass looks like /controller/function/variable, receiving controller:

controller{
 function($v=0){#what once was hello world is now hello_world...}
}

I can't very well do an undo, data might contain an underscore.

Thanks, Brandon

© Stack Overflow or respective owner

Related posts about php